import './common/css/index.scss';
import ng from 'angular';
import rt from 'angular-ui-router';
import * as d3 from 'd3';
import * as name from 'd3-geo-projection';
d3.__proto__ = name;
window.d3 = d3;
var app = ng.module('app', [rt]);

export default {
  app : app,
  d3: d3
};

//加载服务（由于单一，现在分开写，后期改动成一个文件）

import effect from './direct/force.js';
effect.init();
import bund from './direct/bund.js';
bund.init();
import forceDraw from './direct/forceDraw.js';
forceDraw.init();
//加载控制器
import fun from './serve/cotroller.js';
fun.init();
//加入路由功能
import router from './serve/router.js' ;
router.router();
